<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head(title,links)">
    <meta charset="UTF-8">
    <title th:replace="${title}">Title</title>
    <link rel="stylesheet" type="text/css" media="all" th:href="@{/css/com.bdqn.comm.css}">
    <script type="text/javascript" th:src="@{/js/com.bdqn.comm.js}"></script>
    <th:block th:replace="${links}"/>
</head>
<body>
    <header th:fragment="header">
        <h3>我是头部</h3>
    </header>

</body>
</html>